<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/2/6
 * Time: 15:32
 */

namespace app\console;


use app\common\model\Order;
use app\common\Notify;
use app\common\OrderStatus;
use think\console\Command;
use think\console\Input;
use think\console\Output;


class Test extends Command
{
    protected function configure()
    {
        $this->setName('test')->setDescription('runing rebates | zhi xing fan li  ');
    }

    protected function execute(Input $input, Output $output)
    {
        $this->main();
    }

    function main()
    {
        Notify::send(1, ["router" => "seller/order/list", "msg" => "您有新的订单", "code" => 1001, "data" => []]);
    }
}